package com.linQing.waterWork.modle.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author wzy
 * @Date 2024/4/25 20:53
 * @Description: TODO
 * @Version 1.0
 */
@Data
public class QueryWaterAndElectricity implements Serializable {

    @ApiModelProperty("updateTime")
//    @DateTimeFormat(value = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @ApiModelProperty("设备id")
    private String equipmentId;

    @ApiModelProperty("用电量")
    private BigDecimal energyCon;

    @ApiModelProperty("用水量")
    private BigDecimal flowCon;

    /**
     * 时间
     */
    @ApiModelProperty("时间")
    private Integer timeSection;



}
